package sparrowGui.vars
{
	import flash.display.DisplayObject;

	/**
	 * 基本组件信息，不包含重绘信息
	 * @author pelephone
	 */	
	public dynamic class BaseComponentVars
	{
		public var width:int = 20;
		public var height:int = 20;
		public var bgImg:DisplayObject = null;
		public var isBgFill:Boolean = false;		// 是否将bgImg拉申宽高
		
		public var isIntXY:Boolean = true;			// 是否强制x,y坐标为整数
		public var isDelayDraw:Boolean = false;	// 是否下帧重绘
		
		// 设计宽高
		public function setWH(w:int,h:int):void
		{
			width	= w;
			height	= h;
		}
	}
}